package smartcode;

        import java.util.Map;

        import app.auto.AndroidInstance;
        import app.auto.runner.base.intf.FunCallback;

public abstract class HttpInvoker {
    private FunCallback funccallback;


    public abstract HttpInvoker send(Map map);

    private void setResult(String rsult) {
        if (funccallback != null) {
            funccallback.onCallback(rsult, this);
        }
    }


    public HttpInvoker setFunCallback(FunCallback funCallback) {
        this.funccallback = funCallback;
        return this;
    }
}
